+2003-10-01 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkmain.c: Doc formatting tweaks.
+
+ * gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo.
+
+ * gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio):
+ Use the same parameter names as in .c file, to pacify gtk-doc.
+
+ * gtk/gtktoggletoolbutton.[hc]:
+ * gtk/gtktoolbutton.[hc]:
+ * gtk/gtktoolitem.[hc]:
+ * gtk/gtktoolbar.[hc]:
+ * gtk/gtkcolorbutton.[hc]:
+ * gtk/gtkfontbutton.[hc]:
+ * gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the
+ source, not in the header.
+
+ * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio):
+ Document these as 2.4 API additions.
+
Tue Sep 30 23:42:56 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentry.c (gtk_entry_set_completion),
+2003-10-01 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkmain.c: Doc formatting tweaks.
+
+ * gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo.
+
+ * gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio):
+ Use the same parameter names as in .c file, to pacify gtk-doc.
+
+ * gtk/gtktoggletoolbutton.[hc]:
+ * gtk/gtktoolbutton.[hc]:
+ * gtk/gtktoolitem.[hc]:
+ * gtk/gtktoolbar.[hc]:
+ * gtk/gtkcolorbutton.[hc]:
+ * gtk/gtkfontbutton.[hc]:
+ * gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the
+ source, not in the header.
+
+ * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio):
+ Document these as 2.4 API additions.
+
Tue Sep 30 23:42:56 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentry.c (gtk_entry_set_completion),
+2003-10-01 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkmain.c: Doc formatting tweaks.
+
+ * gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo.
+
+ * gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio):
+ Use the same parameter names as in .c file, to pacify gtk-doc.
+
+ * gtk/gtktoggletoolbutton.[hc]:
+ * gtk/gtktoolbutton.[hc]:
+ * gtk/gtktoolitem.[hc]:
+ * gtk/gtktoolbar.[hc]:
+ * gtk/gtkcolorbutton.[hc]:
+ * gtk/gtkfontbutton.[hc]:
+ * gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the
+ source, not in the header.
+
+ * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio):
+ Document these as 2.4 API additions.
+
Tue Sep 30 23:42:56 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentry.c (gtk_entry_set_completion),
+2003-10-01 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkmain.c: Doc formatting tweaks.
+
+ * gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo.
+
+ * gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio):
+ Use the same parameter names as in .c file, to pacify gtk-doc.
+
+ * gtk/gtktoggletoolbutton.[hc]:
+ * gtk/gtktoolbutton.[hc]:
+ * gtk/gtktoolitem.[hc]:
+ * gtk/gtktoolbar.[hc]:
+ * gtk/gtkcolorbutton.[hc]:
+ * gtk/gtkfontbutton.[hc]:
+ * gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the
+ source, not in the header.
+
+ * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio):
+ Document these as 2.4 API additions.
+
Tue Sep 30 23:42:56 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentry.c (gtk_entry_set_completion),
+2003-10-01 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkmain.c: Doc formatting tweaks.
+
+ * gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo.
+
+ * gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio):
+ Use the same parameter names as in .c file, to pacify gtk-doc.
+
+ * gtk/gtktoggletoolbutton.[hc]:
+ * gtk/gtktoolbutton.[hc]:
+ * gtk/gtktoolitem.[hc]:
+ * gtk/gtktoolbar.[hc]:
+ * gtk/gtkcolorbutton.[hc]:
+ * gtk/gtkfontbutton.[hc]:
+ * gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the
+ source, not in the header.
+
+ * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio):
+ Document these as 2.4 API additions.
+
Tue Sep 30 23:42:56 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtkentry.c (gtk_entry_set_completion),
-2003-09-30 Matthias Clasen <maclas@gmx.de>
+2003-10-01 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/tmpl/gtkaction.sgml: Fix cross reference to GtkMenuMerge.
+
+ * gtk/gtk-sections.txt: Additions.
* gtk/tmpl/gtkitemfactory.sgml: Add hint to use #GtkUIManager instead.
+2003-09-30 Matthias Clasen <maclas@gmx.de>
+
* gtk/tmpl/gtkuimanager.sgml: Add a section about empty menus.
* gdk/tmpl/keys.sgml: Small addition.
GTK_ALIGNMENT_GET_CLASS
<SUBSECTION Private>
gtk_alignment_get_type
+GtkAlignmentPrivate
</SECTION>
<SECTION>
gtk_check_menu_item_toggled
gtk_check_menu_item_get_inconsistent
gtk_check_menu_item_set_inconsistent
+gtk_check_menu_item_set_draw_as_radio
+gtk_check_menu_item_get_draw_as_radio
<SUBSECTION Standard>
GTK_CHECK_MENU_ITEM
<TITLE>GtkColorButton</TITLE>
GtkColorButton
gtk_color_button_new
+gtk_color_button_new_with_color
gtk_color_button_set_color
gtk_color_button_get_color
gtk_color_button_set_alpha
GTK_COLOR_BUTTON_CLASS
GTK_IS_COLOR_BUTTON_CLASS
GTK_COLOR_BUTTON_GET_CLASS
-GTK_COLOR_BUTTON_GET_PRIVATE
<SUBSECTION Private>
gtk_color_button_get_type
+GtkColorButtonPrivate
</SECTION>
<SECTION>
<TITLE>GtkEventBox</TITLE>
GtkEventBox
gtk_event_box_new
+gtk_event_box_set_above_child
+gtk_event_box_get_above_child
+gtk_event_box_set_visible_window
+gtk_event_box_get_visible_window
<SUBSECTION Standard>
GTK_EVENT_BOX
GTK_IS_EVENT_BOX
GTK_EXPANDER_GET_CLASS
<SUBSECTION Private>
gtk_expander_get_type
+GtkExpanderPrivate
</SECTION>
<SECTION>
GTK_FONT_BUTTON_CLASS
GTK_IS_FONT_BUTTON_CLASS
GTK_FONT_BUTTON_GET_CLASS
-GTK_FONT_BUTTON_GET_PRIVATE
<SUBSECTION Private>
gtk_font_button_get_type
</SECTION>
GTK_IM_MULTICONTEXT_GET_CLASS
<SUBSECTION Private>
gtk_im_multicontext_get_type
+GtkIMMulticontextPrivate
</SECTION>
<SECTION>
gtk_menu_prepend
gtk_menu_insert
gtk_menu_reorder_child
+gtk_menu_attach
gtk_menu_popup
gtk_menu_set_accel_group
gtk_menu_get_accel_group
gtk_text_view_get_indent
gtk_text_view_set_tabs
gtk_text_view_get_tabs
+gtk_text_view_set_accepts_tab
+gtk_text_view_get_accepts_tab
gtk_text_view_get_default_attributes
GTK_TEXT_VIEW_PRIORITY_VALIDATE
<SUBSECTION Standard>
GTK_TOOLBAR_GET_CLASS
<SUBSECTION Private>
gtk_toolbar_get_type
+GtkToolbarPrivate
</SECTION>
<SECTION>
gtk_tool_item_get_visible_horizontal
gtk_tool_item_set_visible_vertical
gtk_tool_item_get_visible_vertical
+gtk_tool_item_set_is_important
+gtk_tool_item_get_is_important
gtk_tool_item_get_icon_size
gtk_tool_item_get_orientation
gtk_tool_item_get_toolbar_style
+gtk_tool_item_get_relief_style
gtk_tool_item_retrieve_proxy_menu_item
gtk_tool_item_get_proxy_menu_item
gtk_tool_item_set_proxy_menu_item
GTK_IS_TOOL_ITEM
GTK_IS_TOOL_ITEM_CLASS
GTK_TOOL_ITEM_GET_CLASS
-GTK_TOOL_ITEM_GET_PRIVATE
<SUBSECTION Private>
gtk_tool_item_get_type
GTK_IS_TOOL_BUTTON
GTK_IS_TOOL_BUTTON_CLASS
GTK_TOOL_BUTTON_GET_CLASS
-GTK_TOOL_BUTTON_GET_PRIVATE
<SUBSECTION Private>
gtk_tool_button_get_type
<SUBSECTION Private>
gtk_toggle_tool_button_get_type
GtkToggleToolButtonPrivate
-GTK_TOGGLE_TOOL_BUTTON_GET_PRIVATE
</SECTION>
<SECTION>
gtk_widget_unrealize
gtk_widget_queue_draw
gtk_widget_queue_resize
+gtk_widget_queue_resize_no_redraw
gtk_widget_draw
gtk_widget_size_request
gtk_widget_get_child_requisition
<!-- ##### SECTION See_Also ##### -->
<para>
-#GtkActionGroup, #GtkMenuMerge
+#GtkActionGroup, #GtkUIManager
</para>
<!-- ##### STRUCT GtkAction ##### -->
PROP_LAST
};
+#define GTK_ALIGNMENT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GTK_TYPE_ALIGNMENT, GtkAlignmentPrivate))
+
struct _GtkAlignmentPrivate
{
guint padding_top;
*
* Sets whether @check_menu_item is drawn like a #GtkRadioMenuItem
*
+ * Since: 2.4
**/
void
gtk_check_menu_item_set_draw_as_radio (GtkCheckMenuItem *check_menu_item,
* Returns whether @check_menu_item looks like a #GtkRadioMenuItem
*
* Return value: Whether @check_menu_item looks like a #GtkRadioMenuItem
+ *
+ * Since: 2.4
**/
gboolean
gtk_check_menu_item_get_draw_as_radio (GtkCheckMenuItem *check_menu_item)
gboolean setting);
gboolean gtk_check_menu_item_get_inconsistent (GtkCheckMenuItem *check_menu_item);
void gtk_check_menu_item_set_draw_as_radio (GtkCheckMenuItem *check_menu_item,
- gboolean draw_radio_indicator);
+ gboolean draw_as_radio);
gboolean gtk_check_menu_item_get_draw_as_radio (GtkCheckMenuItem *check_menu_item);
#define CHECK_DARK 21845 /* 65535 / 3 */
#define CHECK_LIGHT 43690
+#define GTK_COLOR_BUTTON_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_COLOR_BUTTON, GtkColorButtonPrivate))
+
struct _GtkColorButtonPrivate
{
GdkPixbuf *pixbuf; /* Pixbuf for rendering sample */
#define GTK_IS_COLOR_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_BUTTON))
#define GTK_IS_COLOR_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COLOR_BUTTON))
#define GTK_COLOR_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COLOR_BUTTON, GtkColorButtonClass))
-#define GTK_COLOR_BUTTON_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_COLOR_BUTTON, GtkColorButtonPrivate))
typedef struct _GtkColorButton GtkColorButton;
typedef struct _GtkColorButtonClass GtkColorButtonClass;
#include <string.h>
#include <stdio.h>
+#define GTK_FONT_BUTTON_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_FONT_BUTTON, GtkFontButtonPrivate))
+
struct _GtkFontButtonPrivate
{
gchar *title;
#define GTK_IS_FONT_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_BUTTON))
#define GTK_IS_FONT_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FONT_BUTTON))
#define GTK_FONT_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FONT_BUTTON, GtkFontButtonClass))
-#define GTK_FONT_BUTTON_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_FONT_BUTTON, GtkFontButtonPrivate))
typedef struct _GtkFontButton GtkFontButton;
typedef struct _GtkFontButtonClass GtkFontButtonClass;
* @name: the name of the module
* @type: the type of the module, for instance 'modules', 'engines', immodules'
*
- * Looks for a dynamically module named @name of type @type in the standard GTK+
- * module search path.
+ * Looks for a dynamically loadable module named @name of type @type in the
+ * standard GTK+ module search path.
*
* Return value: the pathname to the found module, or %NULL if it wasn't found.
* Free with g_free().
/**
* gdk_parse_args:
- * @argc: the number of command line arguments.
- * @argv: the array of command line arguments.
+ * @argc: a pointer to the number of command line arguments.
+ * @argv: a pointer to the array of command line arguments.
*
* Parses command line arguments, and initializes global
* attributes of GTK+, but does not actually open a connection
/**
* gtk_init_check:
* @argc: Address of the <parameter>argc</parameter> parameter of your
- * <function>main()</function> function. Changed if any arguments were
- * handled.
- * @argv: Address of the <parameter>argv</parameter> parameter of
- * <function>main()</function>. Any parameters understood by gtk_init()
- * are stripped before return.
+ * main() function. Changed if any arguments were handled.
+ * @argv: Address of the <parameter>argv</parameter> parameter of main().
+ * Any parameters understood by gtk_init() are stripped before return.
*
* This function does the same work as gtk_init() with only
* a single change: It does not terminate the program if the GUI can't be
/**
* gtk_init:
* @argc: Address of the <parameter>argc</parameter> parameter of your
- * <function>main()</function> function. Changed if any arguments were
- * handled.
- * @argv: Address of the <parameter>argv</parameter> parameter of
- * <function>main()</function>. Any parameters understood by gtk_init()
- * are stripped before return.
+ * main() function. Changed if any arguments were handled.
+ * @argv: Address of the <parameter>argv</parameter> parameter of main().
+ * Any parameters understood by gtk_init() are stripped before return.
*
* Call this function before using any other GTK+ functions in your GUI
- * applications. It will initialize everything needed to operate the toolkit and
- * parses some standard command line options. @argc and
+ * applications. It will initialize everything needed to operate the
+ * toolkit and parses some standard command line options. @argc and
* @argv are adjusted accordingly so your own code will
* never see those standard arguments.
*
* <literal>setlocale (LC_ALL, "")</literal> but also takes care of the
* locale specific setup of the windowing system used by GDK.
*
- * Return: a string corresponding to the locale set, typically in the
+ * Returns: a string corresponding to the locale set, typically in the
* form lang_COUNTRY, where lang is an ISO-639 language code, and
* COUNTRY is an ISO-3166 country code. On Unix, this form matches the
- * result of the <function>setlocale()</function>; it is also used on
- * other machines, such as Windows, where the C library returns a
- * different result. The string is owned by GTK+ and should not be
- * modified or freed.
+ * result of the setlocale(); it is also used on other machines, such as
+ * Windows, where the C library returns a different result. The string is
+ * owned by GTK+ and should not be modified or freed.
**/
gchar *
gtk_set_locale (void)
*
* On Windows, the C library doesn't use any such environment
* variables, and setting them won't affect the behaviour of functions
- * like <function>ctime()</function>. The user sets the locale through
- * the Regional Options in the Control Panel. The C library (in the
- * <function>setlocale()</function> function) does not use country and
- * language codes, but country and language names spelled out in
- * English. However, this function does check the above environment
+ * like ctime(). The user sets the locale through the Regional Options
+ * in the Control Panel. The C library (in the setlocale() function)
+ * does not use country and language codes, but country and language
+ * names spelled out in English.
+ * However, this function does check the above environment
* variables, and does return a Unix-style locale string based on
* either said environment variables or the thread's current locale.
*
* application.) The default language is derived from the current
* locale. It determines, for example, whether GTK+ uses the
* right-to-left or left-to-right text direction. See
- * _gtk_get_lc_ctype for notes on behaviour on Windows.
+ * _gtk_get_lc_ctype() for notes on behaviour on Windows.
*
* Return value: the default language as a #PangoLanguage, must not be
* freed
LAST_SIGNAL
};
+#define GTK_TOGGLE_TOOL_BUTTON_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_TOGGLE_TOOL_BUTTON, GtkToggleToolButtonPrivate))
+
struct _GtkToggleToolButtonPrivate
{
guint active : 1;
#define GTK_IS_TOGGLE_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOGGLE_TOOL_BUTTON))
#define GTK_IS_TOGGLE_TOOL_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), GTK_TYPE_TOGGLE_TOOL_BUTTON))
#define GTK_TOGGLE_TOOL_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_TOGGLE_TOOL_BUTTON, GtkToggleToolButtonClass))
-#define GTK_TOGGLE_TOOL_BUTTON_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_TOGGLE_TOOL_BUTTON, GtkToggleToolButtonPrivate))
typedef struct _GtkToggleToolButton GtkToggleToolButton;
typedef struct _GtkToggleToolButtonClass GtkToggleToolButtonClass;
NEW_API
} ApiMode;
+#define GTK_TOOLBAR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GTK_TYPE_TOOLBAR, GtkToolbarPrivate))
+
struct _GtkToolbarPrivate
{
GList *items;
#define GTK_IS_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOOLBAR))
#define GTK_IS_TOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOOLBAR))
#define GTK_TOOLBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOOLBAR, GtkToolbarClass))
-#define GTK_TOOLBAR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GTK_TYPE_TOOLBAR, GtkToolbarPrivate))
#ifndef GTK_DISABLE_DEPRECATED
typedef enum
static GObjectClass *parent_class = NULL;
static guint toolbutton_signals[LAST_SIGNAL] = { 0 };
+#define GTK_TOOL_BUTTON_GET_PRIVATE(obj)(G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButtonPrivate))
+
struct _GtkToolButtonPrivate
{
GtkWidget *button;
#define GTK_IS_TOOL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOOL_BUTTON))
#define GTK_IS_TOOL_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), GTK_TYPE_TOOL_BUTTON))
#define GTK_TOOL_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButtonClass))
-#define GTK_TOOL_BUTTON_GET_PRIVATE(obj)(G_TYPE_INSTANCE_GET_PRIVATE ((obj), GTK_TYPE_TOOL_BUTTON, GtkToolButtonPrivate))
typedef struct _GtkToolButton GtkToolButton;
typedef struct _GtkToolButtonClass GtkToolButtonClass;
PROP_IS_IMPORTANT
};
+#define GTK_TOOL_ITEM_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GTK_TYPE_TOOL_ITEM, GtkToolItemPrivate))
+
struct _GtkToolItemPrivate
{
gchar *tip_text;
/**
* gtk_tool_item_set_is_important:
* @tool_item: a #GtkToolItem
- * @is_imporatnt: whether the tool item should be considered important
+ * @is_important: whether the tool item should be considered important
*
* Sets whether @tool_item should be considered important. The #GtkToolButton
* class uses this property to determine whether to show or hide its label
#define GTK_IS_TOOL_ITEM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_TOOL_ITEM))
#define GTK_IS_TOOL_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((o), GTK_TYPE_TOOL_ITEM))
#define GTK_TOOL_ITEM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS((o), GTK_TYPE_TOOL_ITEM, GtkToolItemClass))
-#define GTK_TOOL_ITEM_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GTK_TYPE_TOOL_ITEM, GtkToolItemPrivate))
typedef struct _GtkToolItem GtkToolItem;
typedef struct _GtkToolItemClass GtkToolItemClass;